.PHONY:all
all:myUdpClient myUdpServer 

myUdpClient:UdpClient.cpp
	g++ -o $@ $^ -std=c++14 -lpthread

myUdpServer:UdpServer.cpp
	g++ -o $@ $^ -std=c++14 -lpthread

# mybin:Main.cpp
# 	g++ -o $@ $^ -std=c++14

.PHONY:clean
clean:
	rm -f  myUdpClient myUdpServer